package Model;

public class Message
{
    private String code;
    private  String  message;

    public Message() {
    }

    public Message(String code, String message) {
        this.code = code;
        this.message = message;
    }

    /**
     * 获取
     * @return code
     */
    public String getCode() {
        return code;
    }

    /**
     * 设置
     * @param code
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * 获取
     * @return message
     */
    public String getMessage() {
        return message;
    }

    /**
     * 设置
     * @param message
     */
    public void setMessage(String message) {
        this.message = message;
    }

    public String toString() {
        return "Message{code = " + code + ", message = " + message + "}";
    }
}
